package com.sgt.frp.excepiton;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BusinessException extends RuntimeException{
    private String msg;

    public static BusinessException init(String msg){
        return new BusinessException(msg);
    }
}
